import {DB} from './constant'
import * as CONFIG from './constant'
import PIS from './constant'

class Person {
	constructor(name, age) {
		this.name = name;
		this.age = age;
		console.log("age %s", age);
	}

	say() {
		return `hi,我是${this.name}, my age is ${this.age}`;
	}

	tell() {
		setTimeout(()=>{
			console.log(`${this.name} tell message to your`);
			console.log(this.name);
			console.log(DB);
			console.log(CONFIG.name);
			CONFIG.action();
			PIS()
		}, 1000);
	}
}

export default Person;